[INFO] fetching crate punkt 1.0.5...
[INFO] checking punkt-1.0.5 against master#158f00a1c5175648af6f6099b075f78d1d014a28 for pr-121251
[INFO] extracting crate punkt 1.0.5 into /workspace/builds/worker-5-tc1/source
[INFO] validating manifest of crates.io crate punkt 1.0.5 on toolchain 158f00a1c5175648af6f6099b075f78d1d014a28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate punkt 1.0.5
[INFO] finished tweaking crates.io crate punkt 1.0.5
[INFO] tweaked toml for crates.io crate punkt 1.0.5 written to /workspace/builds/worker-5-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rust-freqdist v0.1.5
[INFO] [stderr]   Downloaded walkdir v0.1.8
[INFO] [stderr]   Downloaded phf_macros v0.7.24
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c7bc0b85d02d6ec03d7a715ca14246f7acbc44fade8c00c99a63332a1005a16f
[INFO] running `Command { std: "docker" "start" "-a" "c7bc0b85d02d6ec03d7a715ca14246f7acbc44fade8c00c99a63332a1005a16f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c7bc0b85d02d6ec03d7a715ca14246f7acbc44fade8c00c99a63332a1005a16f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c7bc0b85d02d6ec03d7a715ca14246f7acbc44fade8c00c99a63332a1005a16f", kill_on_drop: false }`
[INFO] [stdout] c7bc0b85d02d6ec03d7a715ca14246f7acbc44fade8c00c99a63332a1005a16f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2555b9a3af1514080e1ac2b0726f438609f49c3a4c0ec899e9da6cbed3ea586f
[INFO] running `Command { std: "docker" "start" "-a" "2555b9a3af1514080e1ac2b0726f438609f49c3a4c0ec899e9da6cbed3ea586f", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling siphasher v0.2.3
[INFO] [stderr]     Checking rustc-serialize v0.3.25
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]     Checking winapi v0.2.8
[INFO] [stderr]     Checking rust-freqdist v0.1.5
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]     Checking phf_shared v0.7.24
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]     Checking num-iter v0.1.44
[INFO] [stderr]     Checking walkdir v0.1.8
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]     Checking num-bigint v0.1.44
[INFO] [stderr]     Checking num-complex v0.1.43
[INFO] [stderr]    Compiling phf_generator v0.7.24
[INFO] [stderr]     Checking num-rational v0.1.42
[INFO] [stderr]     Checking num v0.1.42
[INFO] [stderr]    Compiling phf_macros v0.7.24
[INFO] [stderr]     Checking phf v0.7.24
[INFO] [stderr]     Checking punkt v1.0.5 (/opt/rustwide/workdir)
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/trainer.rs:774:7
[INFO] [stdout]     |
[INFO] [stdout] 774 |       #[bench] fn $name(b: &mut ::test::Bencher) {
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 785 | / bench_trainer!(
[INFO] [stdout] 786 | |   bench_trainer_short,
[INFO] [stdout] 787 | |   include_str!("../test/raw/sigma-wiki.txt")
[INFO] [stdout] 788 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: `#[deny(soft_unstable)]` on by default
[INFO] [stdout]     = note: this error originates in the macro `bench_trainer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/trainer.rs:774:7
[INFO] [stdout]     |
[INFO] [stdout] 774 |       #[bench] fn $name(b: &mut ::test::Bencher) {
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 790 | / bench_trainer!(
[INFO] [stdout] 791 | |   bench_trainer_medium,
[INFO] [stdout] 792 | |   include_str!("../test/raw/npr-article-01.txt")
[INFO] [stdout] 793 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: this error originates in the macro `bench_trainer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/trainer.rs:774:7
[INFO] [stdout]     |
[INFO] [stdout] 774 |       #[bench] fn $name(b: &mut ::test::Bencher) {
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 795 | / bench_trainer!(
[INFO] [stdout] 796 | |   bench_trainer_long,
[INFO] [stdout] 797 | |   include_str!("../test/raw/the-sayings-of-confucius.txt")
[INFO] [stdout] 798 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: this error originates in the macro `bench_trainer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/trainer.rs:774:7
[INFO] [stdout]     |
[INFO] [stdout] 774 |       #[bench] fn $name(b: &mut ::test::Bencher) {
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 800 | / bench_trainer!(
[INFO] [stdout] 801 | |   bench_trainer_very_long,
[INFO] [stdout] 802 | |   include_str!("../test/raw/pride-and-prejudice.txt")
[INFO] [stdout] 803 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: this error originates in the macro `bench_trainer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/tokenizer.rs:722:7
[INFO] [stdout]     |
[INFO] [stdout] 722 |       #[bench] fn $name(b: &mut ::test::Bencher) {
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 731 | / bench_word_tokenizer!(
[INFO] [stdout] 732 | |   word_tokenizer_bench_short,
[INFO] [stdout] 733 | |   include_str!("../test/raw/sigma-wiki.txt")
[INFO] [stdout] 734 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: this error originates in the macro `bench_word_tokenizer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/tokenizer.rs:722:7
[INFO] [stdout]     |
[INFO] [stdout] 722 |       #[bench] fn $name(b: &mut ::test::Bencher) {
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 736 | / bench_word_tokenizer!(
[INFO] [stdout] 737 | |   word_tokenizer_bench_medium,
[INFO] [stdout] 738 | |   include_str!("../test/raw/npr-article-01.txt")
[INFO] [stdout] 739 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: this error originates in the macro `bench_word_tokenizer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/tokenizer.rs:722:7
[INFO] [stdout]     |
[INFO] [stdout] 722 |       #[bench] fn $name(b: &mut ::test::Bencher) {
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 741 | / bench_word_tokenizer!(
[INFO] [stdout] 742 | |   word_tokenizer_bench_long,
[INFO] [stdout] 743 | |   include_str!("../test/raw/the-sayings-of-confucius.txt")
[INFO] [stdout] 744 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: this error originates in the macro `bench_word_tokenizer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/tokenizer.rs:722:7
[INFO] [stdout]     |
[INFO] [stdout] 722 |       #[bench] fn $name(b: &mut ::test::Bencher) {
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 746 | / bench_word_tokenizer!(
[INFO] [stdout] 747 | |   word_tokenizer_bench_very_long,
[INFO] [stdout] 748 | |   include_str!("../test/raw/pride-and-prejudice.txt")
[INFO] [stdout] 749 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: this error originates in the macro `bench_word_tokenizer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/tokenizer.rs:753:7
[INFO] [stdout]     |
[INFO] [stdout] 753 |       #[bench] fn $name(b: &mut ::test::Bencher) {
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 769 | / bench_sentence_tokenizer!(
[INFO] [stdout] 770 | |   bench_sentence_tokenizer_train_on_document_short,
[INFO] [stdout] 771 | |   include_str!("../test/raw/sigma-wiki.txt")
[INFO] [stdout] 772 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: this error originates in the macro `bench_sentence_tokenizer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/tokenizer.rs:753:7
[INFO] [stdout]     |
[INFO] [stdout] 753 |       #[bench] fn $name(b: &mut ::test::Bencher) {
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 774 | / bench_sentence_tokenizer!(
[INFO] [stdout] 775 | |   bench_sentence_tokenizer_train_on_document_medium,
[INFO] [stdout] 776 | |   include_str!("../test/raw/npr-article-01.txt")
[INFO] [stdout] 777 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: this error originates in the macro `bench_sentence_tokenizer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/tokenizer.rs:753:7
[INFO] [stdout]     |
[INFO] [stdout] 753 |       #[bench] fn $name(b: &mut ::test::Bencher) {
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 779 | / bench_sentence_tokenizer!(
[INFO] [stdout] 780 | |   bench_sentence_tokenizer_train_on_document_long,
[INFO] [stdout] 781 | |   include_str!("../test/raw/pride-and-prejudice.txt")
[INFO] [stdout] 782 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: this error originates in the macro `bench_sentence_tokenizer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/trainer.rs:345:40
[INFO] [stdout]     |
[INFO] [stdout] 345 |         util::annotate_first_pass::<P>(&mut *(t as *const Token as *mut Token), data);
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout]     = note: `#[deny(invalid_reference_casting)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `punkt` (lib) due to 24 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/trainer.rs:345:40
[INFO] [stdout]     |
[INFO] [stdout] 345 |         util::annotate_first_pass::<P>(&mut *(t as *const Token as *mut Token), data);
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout]     = note: `#[deny(invalid_reference_casting)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `punkt` (lib test) due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "2555b9a3af1514080e1ac2b0726f438609f49c3a4c0ec899e9da6cbed3ea586f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2555b9a3af1514080e1ac2b0726f438609f49c3a4c0ec899e9da6cbed3ea586f", kill_on_drop: false }`
[INFO] [stdout] 2555b9a3af1514080e1ac2b0726f438609f49c3a4c0ec899e9da6cbed3ea586f
[INFO] checking punkt-1.0.5 against try#b4fc5dbf0bc33be331f9d893db5b3a794f29724a+rustflags=-Dexplicit_range -Dtrait_impl_range -Wrange_syntax -Wrange_bounds for pr-121251
[INFO] extracting crate punkt 1.0.5 into /workspace/builds/worker-5-tc2/source
[INFO] validating manifest of crates.io crate punkt 1.0.5 on toolchain b4fc5dbf0bc33be331f9d893db5b3a794f29724a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate punkt 1.0.5
[INFO] finished tweaking crates.io crate punkt 1.0.5
[INFO] tweaked toml for crates.io crate punkt 1.0.5 written to /workspace/builds/worker-5-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 8e59c1f4ae507d61a9fe3a42bb9a9c9bd6407688fef09fa901ef7a04bdd7c3c6
[INFO] running `Command { std: "docker" "start" "-a" "8e59c1f4ae507d61a9fe3a42bb9a9c9bd6407688fef09fa901ef7a04bdd7c3c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "8e59c1f4ae507d61a9fe3a42bb9a9c9bd6407688fef09fa901ef7a04bdd7c3c6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "8e59c1f4ae507d61a9fe3a42bb9a9c9bd6407688fef09fa901ef7a04bdd7c3c6", kill_on_drop: false }`
[INFO] [stdout] 8e59c1f4ae507d61a9fe3a42bb9a9c9bd6407688fef09fa901ef7a04bdd7c3c6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dexplicit_range -Dtrait_impl_range -Wrange_syntax -Wrange_bounds" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 2c5b41af278be4f9253595d74fa7bb4578234a0b39fbb58b7f0a1ee6909c3558
[INFO] running `Command { std: "docker" "start" "-a" "2c5b41af278be4f9253595d74fa7bb4578234a0b39fbb58b7f0a1ee6909c3558", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v0.1.8
[INFO] [stderr]    Compiling rand_core v0.4.2
[INFO] [stderr]    Compiling proc-macro2 v0.4.30
[INFO] [stderr]    Compiling siphasher v0.2.3
[INFO] [stderr]     Checking rustc-serialize v0.3.25
[INFO] [stderr]    Compiling syn v0.15.44
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]     Checking winapi v0.2.8
[INFO] [stderr]     Checking rust-freqdist v0.1.5
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling rand_chacha v0.1.1
[INFO] [stderr]    Compiling rand_pcg v0.1.2
[INFO] [stderr]    Compiling rand v0.6.5
[INFO] [stderr]    Compiling phf_shared v0.7.24
[INFO] [stderr]    Compiling rand_core v0.3.1
[INFO] [stderr]    Compiling rand_jitter v0.1.4
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]    Compiling rand_hc v0.1.0
[INFO] [stderr]    Compiling rand_isaac v0.1.1
[INFO] [stderr]    Compiling rand_xorshift v0.1.1
[INFO] [stderr]     Checking num-iter v0.1.44
[INFO] [stderr]     Checking walkdir v0.1.8
[INFO] [stderr]    Compiling quote v0.6.13
[INFO] [stderr]    Compiling rand_os v0.1.3
[INFO] [stderr]     Checking num-bigint v0.1.44
[INFO] [stderr]     Checking num-complex v0.1.43
[INFO] [stderr]    Compiling phf_generator v0.7.24
[INFO] [stderr]     Checking num-rational v0.1.42
[INFO] [stderr]     Checking num v0.1.42
[INFO] [stderr]    Compiling phf_macros v0.7.24
[INFO] [stderr]     Checking phf v0.7.24
[INFO] [stderr]     Checking punkt v1.0.5 (/opt/rustwide/workdir)
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/trainer.rs:774:7
[INFO] [stdout]     |
[INFO] [stdout] 774 |       #[bench] fn $name(b: &mut ::test::Bencher) {
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 785 | / bench_trainer!(
[INFO] [stdout] 786 | |   bench_trainer_short,
[INFO] [stdout] 787 | |   include_str!("../test/raw/sigma-wiki.txt")
[INFO] [stdout] 788 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: `#[deny(soft_unstable)]` on by default
[INFO] [stdout]     = note: this error originates in the macro `bench_trainer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/trainer.rs:774:7
[INFO] [stdout]     |
[INFO] [stdout] 774 |       #[bench] fn $name(b: &mut ::test::Bencher) {
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 790 | / bench_trainer!(
[INFO] [stdout] 791 | |   bench_trainer_medium,
[INFO] [stdout] 792 | |   include_str!("../test/raw/npr-article-01.txt")
[INFO] [stdout] 793 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: this error originates in the macro `bench_trainer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/trainer.rs:774:7
[INFO] [stdout]     |
[INFO] [stdout] 774 |       #[bench] fn $name(b: &mut ::test::Bencher) {
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 795 | / bench_trainer!(
[INFO] [stdout] 796 | |   bench_trainer_long,
[INFO] [stdout] 797 | |   include_str!("../test/raw/the-sayings-of-confucius.txt")
[INFO] [stdout] 798 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: this error originates in the macro `bench_trainer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/trainer.rs:774:7
[INFO] [stdout]     |
[INFO] [stdout] 774 |       #[bench] fn $name(b: &mut ::test::Bencher) {
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 800 | / bench_trainer!(
[INFO] [stdout] 801 | |   bench_trainer_very_long,
[INFO] [stdout] 802 | |   include_str!("../test/raw/pride-and-prejudice.txt")
[INFO] [stdout] 803 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: this error originates in the macro `bench_trainer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/tokenizer.rs:722:7
[INFO] [stdout]     |
[INFO] [stdout] 722 |       #[bench] fn $name(b: &mut ::test::Bencher) {
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 731 | / bench_word_tokenizer!(
[INFO] [stdout] 732 | |   word_tokenizer_bench_short,
[INFO] [stdout] 733 | |   include_str!("../test/raw/sigma-wiki.txt")
[INFO] [stdout] 734 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: this error originates in the macro `bench_word_tokenizer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/tokenizer.rs:722:7
[INFO] [stdout]     |
[INFO] [stdout] 722 |       #[bench] fn $name(b: &mut ::test::Bencher) {
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 736 | / bench_word_tokenizer!(
[INFO] [stdout] 737 | |   word_tokenizer_bench_medium,
[INFO] [stdout] 738 | |   include_str!("../test/raw/npr-article-01.txt")
[INFO] [stdout] 739 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: this error originates in the macro `bench_word_tokenizer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/tokenizer.rs:722:7
[INFO] [stdout]     |
[INFO] [stdout] 722 |       #[bench] fn $name(b: &mut ::test::Bencher) {
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 741 | / bench_word_tokenizer!(
[INFO] [stdout] 742 | |   word_tokenizer_bench_long,
[INFO] [stdout] 743 | |   include_str!("../test/raw/the-sayings-of-confucius.txt")
[INFO] [stdout] 744 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: this error originates in the macro `bench_word_tokenizer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/tokenizer.rs:722:7
[INFO] [stdout]     |
[INFO] [stdout] 722 |       #[bench] fn $name(b: &mut ::test::Bencher) {
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 746 | / bench_word_tokenizer!(
[INFO] [stdout] 747 | |   word_tokenizer_bench_very_long,
[INFO] [stdout] 748 | |   include_str!("../test/raw/pride-and-prejudice.txt")
[INFO] [stdout] 749 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: this error originates in the macro `bench_word_tokenizer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/tokenizer.rs:753:7
[INFO] [stdout]     |
[INFO] [stdout] 753 |       #[bench] fn $name(b: &mut ::test::Bencher) {
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 769 | / bench_sentence_tokenizer!(
[INFO] [stdout] 770 | |   bench_sentence_tokenizer_train_on_document_short,
[INFO] [stdout] 771 | |   include_str!("../test/raw/sigma-wiki.txt")
[INFO] [stdout] 772 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: this error originates in the macro `bench_sentence_tokenizer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/tokenizer.rs:753:7
[INFO] [stdout]     |
[INFO] [stdout] 753 |       #[bench] fn $name(b: &mut ::test::Bencher) {
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 774 | / bench_sentence_tokenizer!(
[INFO] [stdout] 775 | |   bench_sentence_tokenizer_train_on_document_medium,
[INFO] [stdout] 776 | |   include_str!("../test/raw/npr-article-01.txt")
[INFO] [stdout] 777 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: this error originates in the macro `bench_sentence_tokenizer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: use of unstable library feature 'test': `bench` is a part of custom test frameworks which are unstable
[INFO] [stdout]    --> src/tokenizer.rs:753:7
[INFO] [stdout]     |
[INFO] [stdout] 753 |       #[bench] fn $name(b: &mut ::test::Bencher) {
[INFO] [stdout]     |         ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 779 | / bench_sentence_tokenizer!(
[INFO] [stdout] 780 | |   bench_sentence_tokenizer_train_on_document_long,
[INFO] [stdout] 781 | |   include_str!("../test/raw/pride-and-prejudice.txt")
[INFO] [stdout] 782 | | );
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
[INFO] [stdout]     = note: for more information, see issue #64266 <https://github.com/rust-lang/rust/issues/64266>
[INFO] [stdout]     = note: this error originates in the macro `bench_sentence_tokenizer` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]   --> src/tokenizer.rs:48:31
[INFO] [stdout]    |
[INFO] [stdout] 48 |       let mut iter = self.doc[pos..].chars();
[INFO] [stdout]    |                               ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-W range-syntax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]   --> src/tokenizer.rs:93:26
[INFO] [stdout]    |
[INFO] [stdout] 93 |       let cur = self.doc[self.pos..].chars().next().unwrap();
[INFO] [stdout]    |                          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/tokenizer.rs:105:25
[INFO] [stdout]     |
[INFO] [stdout] 105 |               &self.doc[astart..end],
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 160 |               None => return_token!(),
[INFO] [stdout]     |                       --------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `return_token` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/tokenizer.rs:105:25
[INFO] [stdout]     |
[INFO] [stdout] 105 |               &self.doc[astart..end],
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 177 |         c if state & STATE_CAPT_TOK != 0 && c.is_whitespace() => return_token!(),
[INFO] [stdout]     |                                                                  --------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `return_token` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/tokenizer.rs:245:26
[INFO] [stdout]     |
[INFO] [stdout] 245 |       let cur = self.doc[self.pos..].chars().next().unwrap();
[INFO] [stdout]     |                          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/tokenizer.rs:236:23
[INFO] [stdout]     |
[INFO] [stdout] 236 |             &self.doc[start..self.pos],
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 259 |               return_token!()
[INFO] [stdout]     |               --------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `return_token` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/tokenizer.rs:236:23
[INFO] [stdout]     |
[INFO] [stdout] 236 |             &self.doc[start..self.pos],
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 267 |             return_token!()
[INFO] [stdout]     |             --------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `return_token` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/tokenizer.rs:236:23
[INFO] [stdout]     |
[INFO] [stdout] 236 |             &self.doc[start..self.pos],
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 281 |             _ if c.is_whitespace() || P::is_nonword_char(&c) => return_token!(),
[INFO] [stdout]     |                                                                 --------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `return_token` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/tokenizer.rs:236:23
[INFO] [stdout]     |
[INFO] [stdout] 236 |             &self.doc[start..self.pos],
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 313 |           return_token!()
[INFO] [stdout]     |           --------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `return_token` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/tokenizer.rs:236:23
[INFO] [stdout]     |
[INFO] [stdout] 236 |             &self.doc[start..self.pos],
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 328 |       return_token!()
[INFO] [stdout]     |       --------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `return_token` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/tokenizer.rs:493:51
[INFO] [stdout]     |
[INFO] [stdout] 493 |     self.iter.next().map(|(start, end)| &self.doc[start..end])
[INFO] [stdout]     |                                                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/tokenizer.rs:608:15
[INFO] [stdout]     |
[INFO] [stdout] 608 |     Some(&doc[start..end])
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]   --> src/tokenizer.rs:48:31
[INFO] [stdout]    |
[INFO] [stdout] 48 |       let mut iter = self.doc[pos..].chars();
[INFO] [stdout]    |                               ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: requested on the command line with `-W range-syntax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]   --> src/tokenizer.rs:93:26
[INFO] [stdout]    |
[INFO] [stdout] 93 |       let cur = self.doc[self.pos..].chars().next().unwrap();
[INFO] [stdout]    |                          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/tokenizer.rs:105:25
[INFO] [stdout]     |
[INFO] [stdout] 105 |               &self.doc[astart..end],
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 160 |               None => return_token!(),
[INFO] [stdout]     |                       --------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `return_token` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/tokenizer.rs:105:25
[INFO] [stdout]     |
[INFO] [stdout] 105 |               &self.doc[astart..end],
[INFO] [stdout]     |                         ^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 177 |         c if state & STATE_CAPT_TOK != 0 && c.is_whitespace() => return_token!(),
[INFO] [stdout]     |                                                                  --------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `return_token` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `RangeFrom` range syntax
[INFO] [stdout]    --> src/tokenizer.rs:245:26
[INFO] [stdout]     |
[INFO] [stdout] 245 |       let cur = self.doc[self.pos..].chars().next().unwrap();
[INFO] [stdout]     |                          ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/tokenizer.rs:236:23
[INFO] [stdout]     |
[INFO] [stdout] 236 |             &self.doc[start..self.pos],
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 259 |               return_token!()
[INFO] [stdout]     |               --------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `return_token` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/tokenizer.rs:236:23
[INFO] [stdout]     |
[INFO] [stdout] 236 |             &self.doc[start..self.pos],
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 267 |             return_token!()
[INFO] [stdout]     |             --------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `return_token` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/tokenizer.rs:236:23
[INFO] [stdout]     |
[INFO] [stdout] 236 |             &self.doc[start..self.pos],
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 281 |             _ if c.is_whitespace() || P::is_nonword_char(&c) => return_token!(),
[INFO] [stdout]     |                                                                 --------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `return_token` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/tokenizer.rs:236:23
[INFO] [stdout]     |
[INFO] [stdout] 236 |             &self.doc[start..self.pos],
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 313 |           return_token!()
[INFO] [stdout]     |           --------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `return_token` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/tokenizer.rs:236:23
[INFO] [stdout]     |
[INFO] [stdout] 236 |             &self.doc[start..self.pos],
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 328 |       return_token!()
[INFO] [stdout]     |       --------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this warning originates in the macro `return_token` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/tokenizer.rs:493:51
[INFO] [stdout]     |
[INFO] [stdout] 493 |     self.iter.next().map(|(start, end)| &self.doc[start..end])
[INFO] [stdout]     |                                                   ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]    --> src/tokenizer.rs:608:15
[INFO] [stdout]     |
[INFO] [stdout] 608 |     Some(&doc[start..end])
[INFO] [stdout]     |               ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/trainer.rs:345:40
[INFO] [stdout]     |
[INFO] [stdout] 345 |         util::annotate_first_pass::<P>(&mut *(t as *const Token as *mut Token), data);
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout]     = note: `#[deny(invalid_reference_casting)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 12 previous errors; 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `punkt` (lib) due to 24 previous errors; 12 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: casting `&T` to `&mut T` is undefined behavior, even if the reference is unused, consider instead using an `UnsafeCell`
[INFO] [stdout]    --> src/trainer.rs:345:40
[INFO] [stdout]     |
[INFO] [stdout] 345 |         util::annotate_first_pass::<P>(&mut *(t as *const Token as *mut Token), data);
[INFO] [stdout]     |                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, visit <https://doc.rust-lang.org/book/ch15-05-interior-mutability.html>
[INFO] [stdout]     = note: `#[deny(invalid_reference_casting)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 1 previous error; 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `punkt` (lib test) due to 2 previous errors; 12 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "2c5b41af278be4f9253595d74fa7bb4578234a0b39fbb58b7f0a1ee6909c3558", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2c5b41af278be4f9253595d74fa7bb4578234a0b39fbb58b7f0a1ee6909c3558", kill_on_drop: false }`
[INFO] [stdout] 2c5b41af278be4f9253595d74fa7bb4578234a0b39fbb58b7f0a1ee6909c3558
